<%@ page language="java" 
	import="java.util.*, java.sql.*,java.io.*,javax.servlet.*,javax.servlet.http.*,java.text.SimpleDateFormat,java.util.Date" 
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="/WEB-INF/tld/c.tld" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        function onColor(td) {
            td.style.backgroundColor = '#D7FFEE';
        }
        function offColor(td) {
            td.style.backgroundColor = '';
        }
        function getFocus() {
            var str = document.getElementById("FileSubject").value;
            if (str == "请输入文档主题") {
                document.getElementById("FileSubject").value = "";
            }

        }
        function lostFocus() {
            var str = document.getElementById("FileSubject").value;
            if (str.length <= 0) {
                document.getElementById("FileSubject").value = "请输入文档主题";
            }
        }


    </script>

</head>
<body style=" text-align:center;">
  
    <!--content-->
    <div class="zz-content mc clearfix pd-28">
      
       
        <div class="zz-talbeBox mc">
            <h2 class="fs-12">
                文档列表</h2>
            <table class="zz-talbe">
                <thead>
                    <tr>
                        <th width="22%">
                            文档名称
                        </th>
                        <th width="10%">
                            创建日期
                        </th>
                    </tr>
                </thead>
                <tbody>
                 <c:forEach items="${wordList}" var="ow">
                 <tr onmouseover='onColor(this)' onmouseout='offColor(this)'>
					<td>
								<a
									href='openword?filename=${ow.fileName}&subject=${ow.subject}'>${ow.subject}</a>
							</td>
                 		<td>${ow.submitTime}</td>
                 </tr>
                 </c:forEach>
                </tbody>
            </table>
        </div>
    </div>
    <!--content end-->

</body>
</html>